package com.dgut.utils;

import com.dgut.domain.Person;

public class StaticFactory {

    public static Person createPerson(){
        return new Person();
    }

    public Person createPerson2(){
        return new Person();
    }


    public static void main(String[] args) {
        Person person = StaticFactory.createPerson();
        System.out.println(person);

        StaticFactory factory = new StaticFactory();
        factory.createPerson2();
    }
}
